/* eslint-disable @typescript-eslint/no-explicit-any */
import { accountLoginRequest } from '@/service/login'
import { defineStore } from 'pinia'

const useLoginStore = defineStore('login', {
  state: () => ({
    type: '',
    token: '',
    expireIn: 0,
  }),
  actions: {
    async accountLoginActionAsync(account: any) {
      const loginResult = await accountLoginRequest(account)
      console.log(loginResult)
    },
  },
})

export default useLoginStore
